<?php echo $header; ?>
<style>
<!--
.account_left{
	float:left;
	border:1px solid #AAA;
	width:100px;
}
.account_right{
	border:1px solid #AAA;
	min-width:190px;
	min-height:400px;
	float:left;
	max-width:1278px;
}

.account_left div div#header_th{
	background:#ddd;
	min-height:25px;
	line-height:25px;
	text-align:center;
}

.account_left div div#header_td{
	min-height:25px;
	line-height:25px;
	text-align:center;
}

#list{
	border-bottom:1px solid #AAA;
	margin-top:5px;
	margin-left:5px;
	margin-right:5px;
	padding-left:10px;
	
	height:50px;
	line-height:50px;
	color: #444;
	background:#ddd url('catalog/view/theme/default/image/jiantou_right.png') right center no-repeat;
}

#list a{
	text-decoration: none;
	color:#444;
	font-size:14px;
	display:block;
}
.advice_info {
	widht: 100%;
	min-height: 30px;
	margin-top: 5px;
}

.advice_info>.advice_head {
	height: 38px;
	line-height:38px;
	padding-left: 7px;
	padding-right: 7px;
	border: 1px solid #DBDBDB;
	background: url('catalog/view/theme/mobile/image/box.png') repeat-x;
	-webkit-border-radius: 7px 7px 0px 0px;
	-moz-border-radius: 7px 7px 0px 0px;
	-khtml-border-radius: 7px 7px 0px 0px;
	border-radius: 7px 7px 0px 0px;
}

.advice_info>.advice_content {
	padding: 10px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	min-height: 80px;
	overflow: auto;
}
#content{
	min-width:300px;
}
.account_right_header{
	text-align:center;
	font-weight:bold;
	font-size:14px;
}
-->
</style>
<script type="text/javascript">
<!--
$(document).ready(function() {
	$('.account_right').css('width',($(window).width()-200)+"px");
});
window.onresize = function(){  
	$('.account_right').css('width',($(window).width()-200)+"px");
}  
//-->
</script>
<div id="content">
	<div class="advice_info">
			<div class="advice_head"><h2><?php echo $heading_title; ?></h2></div>
			<div class="advice_content">
  <div class="account_left">
    <div>
    	<div id="header_th">昵称:</div><div id="header_td"><?php echo  $this->customer->getFirstName();?></div>
  	</div>
  	 <div>
    	<div id="header_th">联系方式:</div><div id="header_td"><?php echo  $this->customer->getTelephone();?></div>
  	</div>
  </div>
  <div class="account_right">
  	<div class="account_right_header">报名的活动</div>
  	<?php if(isset($articles)){?>
	  	<?php foreach ($articles as $activity) { ?>
	  		<div id="list">
	  	 		<a href="<?php echo $activity['url']; ?>"><?php echo $activity['title'] ;?></a>
	  	 	</div>
	  	<?php  }?>
  	<?php }?>
  </div>
 </div>
 </div>
 </div>
<?php echo $footer; ?> 